<template>
  <div class="digital-twin-page">
    <h2 class="content-title">交通数字孪生</h2>
    <div class="solution-intro">
      <div class="solution-image">
        <img src="https://picsum.photos/600/400?random=25" alt="交通数字孪生解决方案">
      </div>
      <div class="solution-desc">
        <p>中空领航交通数字孪生方案以"可视、可测、可算、可评、可优"为核心理念，通过构建城市交通的数字镜像，实现对交通系统的全息感知、全局分析、全景仿真与全程优化。</p>
        <p>我们的数字孪生平台将物理世界与数字世界深度融合，以沉浸式可视化方式呈现交通运行态势，通过AI算法和仿真技术进行科学分析与决策支持，赋能城市交通治理向数字化、智能化、精细化方向发展。</p>
      </div>
    </div>

    <div class="solution-features">
      <h3 class="section-title">核心功能</h3>
      <div class="features-container">
        <div class="feature-item">
          <div class="feature-icon">
            <img src="https://picsum.photos/60/60?random=26" alt="全息感知">
          </div>
          <div class="feature-content">
            <h4>全息感知</h4>
            <p>融合多源交通数据，包括浮动车、视频、信号灯、ETC等，实现对车流、人流、路网等交通要素的全方位实时感知。</p>
          </div>
        </div>
        
        <div class="feature-item">
          <div class="feature-icon">
            <img src="https://picsum.photos/60/60?random=27" alt="沉浸可视">
          </div>
          <div class="feature-content">
            <h4>沉浸可视</h4>
            <p>基于三维建模和GIS技术，构建高精度城市交通数字场景，以沉浸式方式展示交通运行态势和关键指标。</p>
          </div>
        </div>
        
        <div class="feature-item">
          <div class="feature-icon">
            <img src="https://picsum.photos/60/60?random=28" alt="全景仿真">
          </div>
          <div class="feature-content">
            <h4>全景仿真</h4>
            <p>通过交通仿真技术，模拟不同场景下的交通流运行状态，评估交通政策、规划方案和管控措施的实施效果。</p>
          </div>
        </div>
        
        <div class="feature-item">
          <div class="feature-icon">
            <img src="https://picsum.photos/60/60?random=29" alt="智能分析">
          </div>
          <div class="feature-content">
            <h4>智能分析</h4>
            <p>运用大数据和AI算法，挖掘交通数据价值，识别交通问题成因，预测交通态势，为决策提供数据支撑。</p>
          </div>
        </div>
        
        <div class="feature-item">
          <div class="feature-icon">
            <img src="https://picsum.photos/60/60?random=30" alt="智能优化">
          </div>
          <div class="feature-content">
            <h4>智能优化</h4>
            <p>基于深度学习和强化学习算法，实现信号配时、路网结构、公交线网等交通要素的自适应优化。</p>
          </div>
        </div>
        
        <div class="feature-item">
          <div class="feature-icon">
            <img src="https://picsum.photos/60/60?random=31" alt="辅助决策">
          </div>
          <div class="feature-content">
            <h4>辅助决策</h4>
            <p>提供决策支持工具，帮助管理者制定科学的交通规划和管理策略，实现交通治理水平的提升。</p>
          </div>
        </div>
      </div>
    </div>

    <div class="solution-cases">
      <h3 class="section-title">应用场景</h3>
      <div class="scenes-container">
        <div class="scene-item">
          <div class="scene-image">
            <img src="https://picsum.photos/300/200?random=32" alt="交通规划">
          </div>
          <div class="scene-content">
            <h4>交通规划评估</h4>
            <p>利用数字孪生技术，对城市道路规划、轨道交通规划等进行虚拟仿真，评估其对交通运行的影响，优化规划方案。</p>
          </div>
        </div>
        
        <div class="scene-item">
          <div class="scene-image">
            <img src="https://picsum.photos/300/200?random=33" alt="信号优化">
          </div>
          <div class="scene-content">
            <h4>信号控制优化</h4>
            <p>通过数字孪生平台模拟信号配时方案效果，结合AI算法实现信号灯的智能优化，提升路口通行效率。</p>
          </div>
        </div>
        
        <div class="scene-item">
          <div class="scene-image">
            <img src="https://picsum.photos/300/200?random=34" alt="指挥调度">
          </div>
          <div class="scene-content">
            <h4>交通指挥调度</h4>
            <p>基于数字孪生平台，实时监测城市交通运行态势，及时发现异常拥堵，智能生成调度方案，提升交通事件处置能力。</p>
          </div>
        </div>
        
        <div class="scene-item">
          <div class="scene-image">
            <img src="https://picsum.photos/300/200?random=35" alt="活动保障">
          </div>
          <div class="scene-content">
            <h4>重大活动保障</h4>
            <p>通过数字孪生平台评估重大活动对交通的影响，制定活动期间的交通组织方案，确保活动期间交通安全有序。</p>
          </div>
        </div>
      </div>
    </div>

    <div class="solution-products">
      <h3 class="section-title">核心产品</h3>
      <div class="products-container">
        <div class="product-item">
          <div class="product-image">
            <img src="https://picsum.photos/400/250?random=36" alt="交通数字孪生平台">
          </div>
          <div class="product-content">
            <h4>交通数字孪生平台</h4>
            <p>通过构建城市交通数字镜像，实现交通系统的全息感知、沉浸可视、智能分析与辅助决策。</p>
            <a href="javascript:;" class="read-more">了解更多</a>
          </div>
        </div>
        
        <div class="product-item">
          <div class="product-image">
            <img src="https://picsum.photos/400/250?random=37" alt="交通仿真平台">
          </div>
          <div class="product-content">
            <h4>交通仿真平台</h4>
            <p>基于高精度城市模型，提供多层次交通仿真功能，支持交通规划、政策与方案的评估优化。</p>
            <a href="javascript:;" class="read-more">了解更多</a>
          </div>
        </div>
        
        <div class="product-item">
          <div class="product-image">
            <img src="https://picsum.photos/400/250?random=38" alt="交通智能大脑">
          </div>
          <div class="product-content">
            <h4>交通智能大脑</h4>
            <p>集成AI算法与决策模型，实现交通信号、路径诱导、公交调度等交通要素的智能优化。</p>
            <a href="javascript:;" class="read-more">了解更多</a>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'DigitalTwinPage'
}
</script>

<style scoped>
.digital-twin-page {
  max-width: 100%;
}

.content-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.content-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.solution-intro {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.solution-image {
  flex: 0 0 50%;
}

.solution-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.solution-desc {
  flex: 0 0 50%;
}

.solution-desc p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.section-title {
  font-size: 24px;
  color: var(--text-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-icon img {
  width: 64px;
  height: 64px;
}

.feature-content h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-content p {
  color: #666;
  line-height: 1.6;
}

.scenes-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.scene-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.scene-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.scene-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.scene-content {
  padding: 20px;
}

.scene-content h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.scene-content p {
  color: #666;
  line-height: 1.6;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-content {
  padding: 20px;
  position: relative;
  padding-bottom: 50px;
}

.product-content h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  bottom: 20px;
  right: 20px;
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--secondary-color);
}

@media (max-width: 992px) {
  .solution-intro {
    flex-direction: column;
  }
  
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .scenes-container {
    grid-template-columns: 1fr;
  }
  
  .products-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-container {
    grid-template-columns: 1fr;
  }
  
  .products-container {
    grid-template-columns: 1fr;
  }
}
</style> 